﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebService.VO
{
    public class SegmentVO
    {
        LatLng start;

        internal LatLng Start
        {
            get { return start; }
            set { start = value; }
        }
        string instruction;

        public string Instruction
        {
            get { return instruction; }
            set { instruction = value; }
        }
        int length;

        public int Length
        {
            get { return length; }
            set { length = value; }
        }
        double distance;

        public double Distance
        {
            get { return distance; }
            set { distance = value; }
        }

        public SegmentVO copy() {
            SegmentVO copy = new SegmentVO();
            copy.start = start;
            copy.instruction = instruction;
            copy.length = length;
            copy.distance = distance;
            return copy;
        }
    }
}